package com.hiultra.archive.service;

import com.hiultra.archive.domain.ArcEnvironment;

import java.util.List;

/**
 * 环境Service接口
 * 
 * @author ls
 * @date 2022-07-28
 */
public interface IArcEnvironmentService 
{
    /**
     * 查询环境
     * 
     * @param environmentId 环境主键
     * @return 环境
     */
    public ArcEnvironment selectArcEnvironmentByEnvironmentId(Long environmentId);

    /**
     * 查询环境列表
     * 
     * @param arcEnvironment 环境
     * @return 环境集合
     */
    public List<ArcEnvironment> selectArcEnvironmentList(ArcEnvironment arcEnvironment);

    /**
     * 新增环境
     * 
     * @param arcEnvironment 环境
     * @return 结果
     */
    public int insertArcEnvironment(ArcEnvironment arcEnvironment);

    /**
     * 修改环境
     * 
     * @param arcEnvironment 环境
     * @return 结果
     */
    public int updateArcEnvironment(ArcEnvironment arcEnvironment);

    /**
     * 批量删除环境
     * 
     * @param environmentIds 需要删除的环境主键集合
     * @return 结果
     */
    public int deleteArcEnvironmentByEnvironmentIds(Long[] environmentIds);

    /**
     * 删除环境信息
     * 
     * @param environmentId 环境主键
     * @return 结果
     */
    public int deleteArcEnvironmentByEnvironmentId(Long environmentId);
}
